<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="target">4</div>
    <script>

        let arr = [
            {
                w: 100,
                h: 100,
                bgcolor: 'red',
                /* 单例模式 */
                instance: undefined
            },
            {
                w: 100,
                h: 100,
                bgcolor: 'red',
                /* 单例模式 */
                instance: undefined
            },
        ]

    </script>
</body>

</html>